<template>
  <div style="position: relative">
    <el-dialog
      v-model="props.richDrawer"
      :title="newTitle"
      draggable
      width="35%"
      @close="handleRichClose"
    >
      <el-form
        :inline="true"
        :model="submitFrom"
        label-width="auto"
        ref="carouselRef"
        :rules="rules"
        label-position="left"
      >
        <el-form-item
          label="服务器编号"
          prop="newImage"
          style="width: 100%"
          required
        >
         
        </el-form-item>
      </el-form>
    </el-dialog>
  </div>
</template>
  <script setup>
import { ref, defineProps, defineEmits, watch, reactive } from "vue";
const emits = defineEmits(["handleRichClose",'handleRichSure']);
const { proxy } = getCurrentInstance();
const { sys_tag_type } = proxy.useDict("sys_tag_type");

const props = defineProps({
    richDrawer: {
    type: Boolean,
    default: false,
  },
  // 传值数据对象
  listItem: {
    type: Object,
    default: {},
  },
});

watch(
  () => props.richDrawer,
  () => {
    if (!props.richDrawer) return;
  }
);
const handleRichClose=()=>{
emits('handleRichClose')
}
const handleRichSure=()=>{
emits('handleRichSure')
}
</script>
  <style lang="scss" scoped>

</style>